Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-256684 | VCEM-70-000012 | SV-256684r888608_rule | Medium |
Description |
---|
MIME mappings tell ESX Agent Manager what type of program various file types and extensions are and what external utilities or programs are needed to execute the file type. By ensuring various shell script MIME types are not included in "web.xml", the server is protected against malicious users tricking the server into executing shell command files. |
STIG | Date |
---|---|
VMware vSphere 7.0 vCenter Appliance EAM Security Technical Implementation Guide | 2023-02-21 |
Check Text ( C-60359r888606_chk ) |
---|
At the command prompt, run the following command: # grep -En '(x-csh<)|(x-sh<)|(x-shar<)|(x-ksh<)' /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml If the command produces any output, this is a finding. |
Fix Text (F-60302r888607_fix) |
---|
Navigate to and open: /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml Remove all of the following nodes lines: Restart the service with the following command: # vmon-cli --restart eam Note: Delete the entire mime-mapping node for the target mime-type. Example: |